#!/usr/bin/gnuplot -persist
set encoding utf8
set palette rgbformulae -25,-24,-32

# eps monocromo
set term postscript enhanced color #monochrome 

# leyenda a la izquierda y con borde
set key left box

# tipos de lineas
set style line 1 lt 1 lw 1 lc rgb "#F5003D"
set style line 2 lt 2 lw 1 lc rgb "#E4002C"

set style line 3 lt 1 lw 1 lc rgb "#00B88A"
set style line 4 lt 2 lw 1 lc rgb "#00A779"

set style line 5 lt 1 lw 1 lc rgb "#3D00F5"
set style line 6 lt 2 lw 1 lc rgb "#2C00E4"

set style line 7 lt 1 lw 3 
set style line 8 lt 2 lw 1 lc rgb "#aaaaaa"

p = 3.14159265358979323846264338327950288419716939937510


# error absoluto
eabs(x)=(x-p)

# error relativo
erel(x)=abs(eabs(x)/p)

# cota gregory
cota_greg(x)=(54*2**(1-x))/13

